<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>傲小兮</title>
	<link rel="stylesheet" href="../Public/bs/css/bootstrap.min.css">
	<link rel="stylesheet" href="../Public/css/register_index.css">
	<script src="../Public/bs/js/jquery.min.js"></script>
	<script src="../Public/bs/js/bootstrap.min.js"></script>
	<script src="../Public/js/register_index.js"></script>
	<script src="../Public/bs/js/holder.min.js"></script>
	<link href="__PUBLIC__/favicon.ico" rel="shortcut icon">
	<script>
		var src='__URL__/ckuser';
		var  src1='__URL__/ckcode';
	</script>
</head>
<body>
	<div class="navimg">
		<!--<img src="../Public/images/logo.jpg" alt="">-->
	</div>
	<div class="content">
		<h1 class='page-header'>亲，欢迎注册微博</h1>
		<form action="__URL__/insert" method='post'>
			<div class="form-group">
			   	<label>用户名</label>
			   	<div class="row">
			   		<div class="col-md-4">
			   			<input type="text" class="form-control chk"  id="user" placeholder="username" name='username'>
			   		</div>
			   		<div class="col-md-5">
			   			<div class="alert alert-info view" >4-20字符，支持字母，数字及"-"."_"组合</div>
			   			<div class="alert alert-danger  error" >用户名已存在!</div>
			   			<div class="alert alert-danger  error1" >请输入用户名</div>
			   			<div class="alert alert-danger  error2" >用户名只能由4-20位的汉字，字母，数字及"-"."_"组成</div>
			   		</div>
			   	</div>
			   	
			 </div>
			 <div class="form-group">
			    	<label>密码</label>
			    	<div class="row">
			   		<div class="col-md-4">
			   			<input type="password" class="form-control chk" id="pass" placeholder="password" name='password'>
			   		</div>
			   		<div class="col-md-6">
			   			<div class="alert alert-info view" >6-20位字符，建议由字母，数字和符号两种以上组合</div>
			   			<div class="alert alert-danger error " >密码必须大于6位</div>
			   			<div class="alert alert-danger  error1" >请输入密码</div>
			   		</div>
			   	</div>
			    	
			  </div>
			  <div class="form-group">
			     	<label>确认密码</label>
			     	<div class="row">
			   		<div class="col-md-4">
			   			<input type="password" class="form-control chk" id="repass" placeholder="repassword">
			   		</div>
			   		<div class="col-md-4">
			   			<div class="alert alert-info view" >请再次输入密码</div>
			   			<div class="alert alert-danger error" >两次密码不一致</div>
			   			<div class="alert alert-danger  error1" >请确认密码</div>
			   		</div>
			   	</div>
			     	
			   </div>
			   <div class="form-group">
			      	<label>邮箱</label>
			      	<div class="row">
			   		<div class="col-md-4">
			   			<input type="text" class="form-control chk" id="emil" placeholder="emil" name='emil'>
			   		</div>
			   		<div class="col-md-4">
			   			<div class="alert alert-info view" >请输入邮箱</div>
			   			<div class="alert alert-danger error" >邮箱格式不正确</div>
			   			<div class="alert alert-danger  error1" >请输入邮箱</div>
			   		</div>
			   	</div>
			      	
			    </div>
			   <div class="form-group">
			      	<label>验证码</label>
			      	<div class="row">
			      		<div class="col-md-2">
			      			<input type="text" class="form-control chk"  id='code'  placeholder="verify">
			      		</div>
			      		<div class="col-md-1">
			      			<img src="__PUBLIC__/helper/code/code.php" id="codeimg" style="cursor:pointer" onclick="this.src='__PUBLIC__/helper/code/code.php?rands'+Math.random()">
			      		</div>
			      		<div class="col-md-2" style="margin-left:60px" >
			      			看不清？<a style="cursor:pointer" onclick="cobj.src='__PUBLIC__/helper/code/code.php?rands'+Math.random()">换一张</a>
			      		</div>
			      		<div class="col-md-3 col-md-offset-4px">
			      			<div class="alert alert-info view" >请输入验证码</div>
			   			<div class="alert alert-danger error" >验证码不正确</div>
			   			<div class="alert alert-danger error1" margin-left="10px">请输入验证码</div>
			   		</div>
			      	</div>
			    </div>
			     <div class="form-group">
			      	<input type="button" class=" btn btn-danger sub" value="立即注册" >
			      	<input type="reset" class=" btn btn-danger" value="取消">
			    </div>
		</form>
	</div>
</body>
</html>